import { createStore } from "vuex";

const store = createStore({
  state() {
    return {
      enteredTest: false,
      employeeId: null,
    };
  },
  mutations: {
    setEnteredTest(state, val) {
      state.enteredTest = val;
    },
    setEmployeeId(state, id) {
      state.employeeId = id;
    },
  },
});

export default store;
